//
//  ACAnchorViewController.h
//  ACLiteAVUISDK
//
//  Created by 冯琰琰 on 2021/3/29.
//

#import <UIKit/UIKit.h>
#import "ACMsgModel.h"
#import "ACLiveModel.h"
#import "ACEduBoardToolBar.h"

NS_ASSUME_NONNULL_BEGIN

@interface ACAnchorViewController : UIViewController
@property (nonatomic, strong)TRTCLiveRoomInfo *liveInfo;
@property (nonatomic, strong)TRTCLiveUserInfo *me;
@property (nonatomic, strong)NSMutableDictionary<NSString *,TRTCLiveUserInfo *> *requestJoinAnchor;
@property (nonatomic, strong)UIView   *videoView;
@property (nonatomic, strong)NSMutableArray<ACMsgModel *>*msgModelArray;
@property(nonatomic,strong)TRTCLiveRoom *liveRoom;
@property(nonatomic,assign)BOOL isAnchor;
@property(nonatomic,assign)BOOL     isMC;
@property(nonatomic,strong)RACSubject *backSubject;
@property(nonatomic,copy)NSString *liveID;
@property(nonatomic,strong)ACLiveModel *liveModel;
@property(nonatomic,strong)NSMutableArray<TRTCLiveUserInfo*>*requestJoinAnchorArray;
@property(nonatomic,strong)NSMutableArray<TRTCLiveUserInfo*>*joinAnchorArray;
- (void)requestLiveInfo;
- (void)bulletNewMsg:(ACMsgModel *)msgModel;
- (void)showWriteBoardViewWithuserID:(NSString *)userID;
- (void)removeWriteBoardViewWithuserID:(NSString *)userID;
- (void)showWriteBoardViewWithBoardView:(UIView *)renderView;
- (void)receiveInviteAnchorResponseWithInviteAnchor:(TRTCLiveUserInfo *)user agreed:(BOOL)agreed;
- (void)receiveInviteAnchorLeave;
- (void)receiveInviteAnchorKickedOut;

@end

NS_ASSUME_NONNULL_END
